package com.fh.service;

import com.fh.model.Brand;
import com.fh.util.DataTablePageUtil;
import com.fh.vo.BrandVo;
import org.springframework.stereotype.Service;

@Service
public interface BrandService {

    //查询数据
    public DataTablePageUtil<Brand> queryBrand(DataTablePageUtil<Brand> page, BrandVo brandVo);
    //新增数据
    void addBrand(Brand brand);
    //回显
    Brand toUpdateBrand(Integer brandId);
    //修改
    void updateBrand(Brand brand);
    //删除
    void deleteBrand(Integer brandId);
    //批量删除
    void deleteBothBrand(Integer[] arr);
}
